<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<div class="row">
		<?php echo $form->label($model,'idClub'); ?>
		<?php echo $form->textField($model,'idClub'); ?>
	</div>

    <?php
    /*
	<div class="row">
		<?php echo $form->label($model,'dataAlta'); ?>
		<?php echo $form->textField($model,'dataAlta'); ?>
	</div>
     * 
     */
    ?>
    
    <div class="row">
        <?php echo $form->label($model,'dataAlta'); ?>
        <?php $this->widget('zii.widgets.jui.CJuiDatePicker', array(
            'model'=>$model,
            'language'=>'ca',
            'attribute'=>'dataAlta',
            'value'=>$model->dataAlta,
            // additional javascript options for the date picker plugin
            'options'=>array(
                'showAnim'=>'fold',
                'showButtonPanel'=>true,
                'autoSize'=>true,
                'dateFormat'=>'dd/mm/yy',
                'defaultDate'=>$model->dataAlta,
                //'buttonImage'=>Yii::app()->baseUrl.'/images/icons/calendari.png',
                'buttonImageOnly'=>true,
                'buttonText'=>'Triar data',
                'selectOtherMonths'=>true,
                //'showOn'=>'button',
                'showOtherMonths'=>true,
                'changeMonth'=>'true',
                'changeYear'=>'true,'
            ),
        ));
        ?>
    </div>

	<div class="row">
		<?php echo $form->label($model,'nom'); ?>
		<?php echo $form->textField($model,'nom',array('size'=>45,'maxlength'=>45)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'domicili'); ?>
		<?php echo $form->textField($model,'domicili',array('size'=>45,'maxlength'=>45)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'codiPostal'); ?>
		<?php echo $form->textField($model,'codiPostal'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'poblacio'); ?>
		<?php echo $form->textField($model,'poblacio',array('size'=>45,'maxlength'=>45)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'provincia'); ?>
		<?php echo $form->textField($model,'provincia',array('size'=>45,'maxlength'=>45)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'CIF'); ?>
		<?php echo $form->textField($model,'CIF',array('size'=>9,'maxlength'=>9)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'telFix'); ?>
		<?php echo $form->textField($model,'telFix'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'telMobil'); ?>
		<?php echo $form->textField($model,'telMobil'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'eMail'); ?>
		<?php echo $form->textField($model,'eMail',array('size'=>45,'maxlength'=>45)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'web'); ?>
		<?php echo $form->textField($model,'web',array('size'=>45,'maxlength'=>45)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'directorNom'); ?>
		<?php echo $form->textField($model,'directorNom',array('size'=>45,'maxlength'=>45)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'directorMobil'); ?>
		<?php echo $form->textField($model,'directorMobil'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'directorEMail'); ?>
		<?php echo $form->textField($model,'directorEMail',array('size'=>45,'maxlength'=>45)); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton('Cercar'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->